<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<c:set value="${pageContext.request.contextPath }" var="baseUrl"></c:set>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta charset="UTF-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
    	<meta name="viewport" content="width=device-width, initial-scale=1">
		<title>众筹管理后台</title>
		<link rel="stylesheet" href="../admin/css/bootstrap.min.css" />
		<link rel="stylesheet" href="../admin/css/dashboard.css" />
	</head>
	<body>
		
		 <nav class="navbar navbar-inverse navbar-fixed-top">
      <div class="container-fluid">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand" href="#">众筹管理平台</a>
        </div>
        <div id="navbar" class="navbar-collapse collapse">
        	
          <ul class="nav navbar-nav navbar-right">
          	<li><a href="index.jsp">首页</a></li>
          	<li><a href="#">欢迎, ${admin1.adminName }</a></li>
            <li><a href="#" title="修改个人资料和密码的页面">设置</a></li>
            <li><a href="${baseUrl }/AdminController/outAdmin" title="退出登录">退出</a></li>
          </ul>
        </div>
      </div>
    </nav>

    <div class="container-fluid">
      <div class="row">
        <div class="col-sm-3 col-md-2 sidebar">
        	<ul class="nav nav-sidebar">
            <li ><a href="index.jsp">首页</a></li>
           </ul>
          <ul class="nav nav-sidebar">
            <li class="active"><a href="../products.jsp">所有项目*</a></li>
            <li><a href="#">项目审核</a></li>
            <li><a href="#">项目跟踪</a></li>
            <li><a href="#">项目评论</a></li>
            <li><a href="../classify/all_classity.jsp">项目分类*</a></li>
            <li><a href="#">项目推荐</a></li>
          </ul>
          <ul class="nav nav-sidebar">
            <li><a href="">注册用户</a></li>
            <li><a href="">用户资金</a></li>
            <li><a href="">用户日志</a></li>
            <li><a href="">实名审核</a></li>
          </ul>
          <ul class="nav nav-sidebar">
            <li><a href="">新闻管理</a></li>
            <li><a href="">问题管理</a></li>
            <li><a href="">管理用户</a></li>
            <li><a href="">管理日志</a></li>
          </ul>
        </div>
        <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
          <h1 class="page-header">${projects.psFileName }项目</h1>
		
			<ul class="nav nav-tabs">
		  <li role="presentation" class="active"><a href="product-info1.jsp">基本信息</a></li>
		  <li role="presentation"><a href="product-info2.jsp">项目信息</a></li>
		  <li role="presentation"><a href="product-info3.jsp">项目评论</a></li>
		  <li role="presentation"><a href="product-info4.jsp">项目进度</a></li>
		  <li role="presentation"><a href="product-info5.jsp">项目跟踪</a></li>
		</ul>
          <div>
          		<div class="panel panel-default">
				  <div class="panel-heading">
				    <h3 class="panel-title">申请人信息</h3>
				  </div>
				  <div class="panel-body">
				    <table class="table table-bordered">
				    	
					  <tr>
					  	<th>姓名</th>
					  	<td>${user.usName }</td>
					  </tr>
					  <tr>
					  	<th>性别</th>
					  	<td>${user.usSex }</td>
					  </tr>
					  <tr>
					  	<th>电话</th>
					  	<td>${user.usPhone }</td>
					  </tr>
					  <tr>
					  	<th>邮箱</th>
					  	<td>${user.usEmail }</td>
					  </tr>
					  <tr>
					  	<th>身份证</th>
					  	<td>${user.usIdcard }</td>
					  </tr>
					  <tr>
					  	<th>申请人地址</th>
					  	<td>${user.usAddress }</td>
					  </tr>
					  <tr>
					  	<th>账户金额</th>
					  	<td>${user.usMoney }</td>
					  </tr>
					  <tr>
					  	<th>用户状态</th>
					  	<c:if test="${user.usRole==0 }">
					  	<td>未激活</td>
					  	</c:if>
					  	<c:if test="${user.usRole==1 }">
					  	<td>已激活</td>
					  	</c:if>
					  </tr>
					  <tr>
					  	<th>随机码</th>
					  	<td>${user.usCode }</td>
					  </tr>
					  <tr>
					  	<th>客服联系人</th>
					  	<td>${projects.psCustName }</td>
					  </tr>
					  <tr>
					  	<th>客服联系电话</th>
					  	<td>${projects.psCustPhone }</td>
					  </tr>
					  <tr>
					  	<th>客服地址</th>
					  	<td>${projects.psCustAddress }</td>
					  </tr>
					</table>
				  </div>
				</div>
				
				<div class="panel panel-default">
				  <div class="panel-heading">
				    <h3 class="panel-title">项目信息</h3>
				  </div>
				  <div class="panel-body">
				    <table class="table table-bordered">
				    	
					  <tr>
					  	<th>项目类型</th>
					  	<td>${benefittype.bftpName }</td>
					  </tr>
					  <tr>
					  	<th>项目标题</th>
					  	<td>${projects.psName }</td>
					  </tr>
					  <tr>
					  	<th>筹款目的</th>
					  	<td>${projects.psGoal }</td>
					  </tr>
					  <tr>
					  	<th>项目地点</th>
					  	<td>${projects.psAddress }</td>
					  </tr>
					  <tr>
					  	<th>筹资金额</th>
					  	<td>${projects.psMoney }</td>
					  </tr>
					  <tr>
					  	<th>筹资天数</th>
					  	<td>${projects.psDays }</td>
					  </tr>
					  <tr>
					  	<th>宣传视频的地址</th>
					  	<td>${projects.psVideo }</td>
					  </tr>
					  <tr>
					  	<th>项目故事的地址</th>
					  	<td>${projects.psStory }</td>
					  </tr>
					  <tr>
					  	<th>更多支持</th>
					  	<td>${projects.psSupport }</td>
					  </tr>
					  <tr>
					  	<th>提供回报简述地址</th>
					  	<td>${projects.psRepay }</td>
					  </tr>
					  <tr>
					  	<th>关于自己</th>
					  	<td>${projects.psAboutme }</td>
					  </tr>
					  <tr>
					  	<th>项目状态</th>
					  	<c:if test="${projects.psType==0 }">
					  	<td>待审核</td>
					  	</c:if>
					  	<c:if test="${projects.psType==1 }">
					  	<td>待上架</td>
					  	</c:if>
					  	<c:if test="${projects.psType==2 }">
					  	<td>众筹中</td>
					  	</c:if>
					  	<c:if test="${projects.psType==3 }">
					  	<td>众筹成功</td>
					  	</c:if>
					  	<c:if test="${projects.psType==4 }">
					  	<td>众筹失败</td>
					  	</c:if>
					  	<c:if test="${projects.psType==5 }">
					  	<td>审核未通过</td>
					  	</c:if>
					  </tr>
					  <tr>
					  	<th>项目开始的时间</th>
					  	<td>${projects.psStarttime }</td>
					  </tr>
					  <tr>
					  	<th>项目结束的时间</th>
					  	<td>${projects.psEndtime }</td>
					  </tr>
					  <tr>
					  	<th>项目已筹资金额</th>
					  	<td>${projects.psGetmoney }</td>
					  </tr>
					  <tr>
					  	<th>项目支持人数</th>
					  	<td>${projects.psGetpeople }</td>
					  </tr>
					</table>
				  </div>
				</div>
          </div>
        </div>
      </div>
    </div>
		
		<script type="text/javascript" src="../js/jquery1.12.4.min.js" ></script>
		<script type="text/javascript" src="../js/bootstrap.min.js" ></script>
		<script type="text/javascript" src="../js/countUp.js" ></script>
		<script>
			$(document).ready(function() {
				
			});
		</script>
	</body>
</html>
